<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.14"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>libslic3r: Slic3r::ModelInstance Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="Slic3r_192px_transparent.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">libslic3r
   </div>
   <div id="projectbrief">Library for generating gcode from 3d models</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.14 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="namespace_slic3r.html">Slic3r</a></li><li class="navelem"><a class="el" href="class_slic3r_1_1_model_instance.html">ModelInstance</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-attribs">Public Attributes</a> &#124;
<a href="#friends">Friends</a> &#124;
<a href="class_slic3r_1_1_model_instance-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">Slic3r::ModelInstance Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p><code>#include &lt;<a class="el" href="_model_8hpp_source.html">Model.hpp</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:ad50d4fc7bdb71dbc2efd466bc0dce3e3"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_slic3r_1_1_model_object.html">ModelObject</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_slic3r_1_1_model_instance.html#ad50d4fc7bdb71dbc2efd466bc0dce3e3">get_object</a> () const</td></tr>
<tr class="separator:ad50d4fc7bdb71dbc2efd466bc0dce3e3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6702385dce726b97102aab24d140a23b"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_slic3r_1_1_model_instance.html#a6702385dce726b97102aab24d140a23b">transform_mesh</a> (<a class="el" href="class_slic3r_1_1_triangle_mesh.html">TriangleMesh</a> *mesh, bool dont_translate=false) const</td></tr>
<tr class="separator:a6702385dce726b97102aab24d140a23b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a52e01660127368a360edbb89933fde20"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_slic3r_1_1_bounding_boxf3.html">BoundingBoxf3</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_slic3r_1_1_model_instance.html#a52e01660127368a360edbb89933fde20">transform_mesh_bounding_box</a> (const <a class="el" href="class_slic3r_1_1_triangle_mesh.html">TriangleMesh</a> *mesh, bool dont_translate=false) const</td></tr>
<tr class="separator:a52e01660127368a360edbb89933fde20"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae50112b4433784c3f68fa3e7ab8e80c8"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_slic3r_1_1_bounding_boxf3.html">BoundingBoxf3</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_slic3r_1_1_model_instance.html#ae50112b4433784c3f68fa3e7ab8e80c8">transform_bounding_box</a> (const <a class="el" href="class_slic3r_1_1_bounding_boxf3.html">BoundingBoxf3</a> &amp;bbox, bool dont_translate=false) const</td></tr>
<tr class="separator:ae50112b4433784c3f68fa3e7ab8e80c8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a294f740049c15f8ba3a3526933a6073c"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_slic3r_1_1_model_instance.html#a294f740049c15f8ba3a3526933a6073c">transform_polygon</a> (<a class="el" href="class_slic3r_1_1_polygon.html">Polygon</a> *polygon) const</td></tr>
<tr class="separator:a294f740049c15f8ba3a3526933a6073c"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Public Attributes</h2></td></tr>
<tr class="memitem:a2d6e9d580d7423d1b5cbf62db39f02c2"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_slic3r_1_1_model_instance.html#a2d6e9d580d7423d1b5cbf62db39f02c2">rotation</a></td></tr>
<tr class="memdesc:a2d6e9d580d7423d1b5cbf62db39f02c2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Rotation around the Z axis, in radians around mesh center point.  <a href="#a2d6e9d580d7423d1b5cbf62db39f02c2">More...</a><br /></td></tr>
<tr class="separator:a2d6e9d580d7423d1b5cbf62db39f02c2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad257780d06cd19443c265385595dfe72"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_slic3r_1_1_model_instance.html#ad257780d06cd19443c265385595dfe72">x_rotation</a></td></tr>
<tr class="memdesc:ad257780d06cd19443c265385595dfe72"><td class="mdescLeft">&#160;</td><td class="mdescRight">Rotation around the X axis, in radians around mesh center point. Specific to 3MF format.  <a href="#ad257780d06cd19443c265385595dfe72">More...</a><br /></td></tr>
<tr class="separator:ad257780d06cd19443c265385595dfe72"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7d6d9a2d1b5d5f1457c12563db97ec4d"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_slic3r_1_1_model_instance.html#a7d6d9a2d1b5d5f1457c12563db97ec4d">y_rotation</a></td></tr>
<tr class="memdesc:a7d6d9a2d1b5d5f1457c12563db97ec4d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Rotation around the Y axis, in radians around mesh center point. Specific to 3MF format.  <a href="#a7d6d9a2d1b5d5f1457c12563db97ec4d">More...</a><br /></td></tr>
<tr class="separator:a7d6d9a2d1b5d5f1457c12563db97ec4d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7fb4930ae3c339bfe47781584a1d3b62"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_slic3r_1_1_model_instance.html#a7fb4930ae3c339bfe47781584a1d3b62">scaling_factor</a></td></tr>
<tr class="memdesc:a7fb4930ae3c339bfe47781584a1d3b62"><td class="mdescLeft">&#160;</td><td class="mdescRight">uniform scaling factor.  <a href="#a7fb4930ae3c339bfe47781584a1d3b62">More...</a><br /></td></tr>
<tr class="separator:a7fb4930ae3c339bfe47781584a1d3b62"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:add6e61f270a85a3cf761e9cc9e2b95d6"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_slic3r_1_1_pointf3.html">Pointf3</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_slic3r_1_1_model_instance.html#add6e61f270a85a3cf761e9cc9e2b95d6">scaling_vector</a></td></tr>
<tr class="memdesc:add6e61f270a85a3cf761e9cc9e2b95d6"><td class="mdescLeft">&#160;</td><td class="mdescRight">scaling vector. Specific to 3MF format.  <a href="#add6e61f270a85a3cf761e9cc9e2b95d6">More...</a><br /></td></tr>
<tr class="separator:add6e61f270a85a3cf761e9cc9e2b95d6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad8efb2f38a72e87f7216319dba818863"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_slic3r_1_1_pointf.html">Pointf</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_slic3r_1_1_model_instance.html#ad8efb2f38a72e87f7216319dba818863">offset</a></td></tr>
<tr class="memdesc:ad8efb2f38a72e87f7216319dba818863"><td class="mdescLeft">&#160;</td><td class="mdescRight">offset in unscaled coordinates.  <a href="#ad8efb2f38a72e87f7216319dba818863">More...</a><br /></td></tr>
<tr class="separator:ad8efb2f38a72e87f7216319dba818863"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae6929f99d28b4cee279e3f2ae08c43be"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_slic3r_1_1_model_instance.html#ae6929f99d28b4cee279e3f2ae08c43be">z_translation</a></td></tr>
<tr class="memdesc:ae6929f99d28b4cee279e3f2ae08c43be"><td class="mdescLeft">&#160;</td><td class="mdescRight">translation in z axis. Specific to 3MF format. It's not used anywhere in <a class="el" href="namespace_slic3r.html">Slic3r</a> except at writing/reading 3mf.  <a href="#ae6929f99d28b4cee279e3f2ae08c43be">More...</a><br /></td></tr>
<tr class="separator:ae6929f99d28b4cee279e3f2ae08c43be"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="friends"></a>
Friends</h2></td></tr>
<tr class="memitem:aa8c2bf09eb9d929d57be9ae9277e82de"><td class="memItemLeft" align="right" valign="top">class&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_slic3r_1_1_model_instance.html#aa8c2bf09eb9d929d57be9ae9277e82de">ModelObject</a></td></tr>
<tr class="separator:aa8c2bf09eb9d929d57be9ae9277e82de"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>A single instance of a <a class="el" href="class_slic3r_1_1_model_object.html">ModelObject</a>. Knows the affine transformation of an object. </p>
</div><h2 class="groupheader">Member Function Documentation</h2>
<a id="ad50d4fc7bdb71dbc2efd466bc0dce3e3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad50d4fc7bdb71dbc2efd466bc0dce3e3">&#9670;&nbsp;</a></span>get_object()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_slic3r_1_1_model_object.html">ModelObject</a>* Slic3r::ModelInstance::get_object </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Get the owning <a class="el" href="class_slic3r_1_1_model_object.html">ModelObject</a> </p><dl class="section return"><dt>Returns</dt><dd>ModelObject* pointer to the owner <a class="el" href="class_slic3r_1_1_model_object.html">ModelObject</a> </dd></dl>

</div>
</div>
<a id="ae50112b4433784c3f68fa3e7ab8e80c8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae50112b4433784c3f68fa3e7ab8e80c8">&#9670;&nbsp;</a></span>transform_bounding_box()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_slic3r_1_1_bounding_boxf3.html">BoundingBoxf3</a> Slic3r::ModelInstance::transform_bounding_box </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="class_slic3r_1_1_bounding_boxf3.html">BoundingBoxf3</a> &amp;&#160;</td>
          <td class="paramname"><em>bbox</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>dont_translate</em> = <code>false</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Transform an external bounding box. </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">bbox</td><td><a class="el" href="class_slic3r_1_1_bounding_boxf3.html">BoundingBoxf3</a> the bounding box to be transformed </td></tr>
    <tr><td class="paramname">dont_translate</td><td>bool whether to translate the bounding box or not </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><a class="el" href="class_slic3r_1_1_bounding_boxf3.html">BoundingBoxf3</a> the bounding box after transformation </dd></dl>

</div>
</div>
<a id="a6702385dce726b97102aab24d140a23b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6702385dce726b97102aab24d140a23b">&#9670;&nbsp;</a></span>transform_mesh()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Slic3r::ModelInstance::transform_mesh </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_slic3r_1_1_triangle_mesh.html">TriangleMesh</a> *&#160;</td>
          <td class="paramname"><em>mesh</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>dont_translate</em> = <code>false</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Transform an external <a class="el" href="class_slic3r_1_1_triangle_mesh.html">TriangleMesh</a> object </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">mesh</td><td>TriangleMesh* pointer to the the mesh </td></tr>
    <tr><td class="paramname">dont_translate</td><td>bool whether to translate the mesh or not </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a52e01660127368a360edbb89933fde20"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a52e01660127368a360edbb89933fde20">&#9670;&nbsp;</a></span>transform_mesh_bounding_box()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_slic3r_1_1_bounding_boxf3.html">BoundingBoxf3</a> Slic3r::ModelInstance::transform_mesh_bounding_box </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="class_slic3r_1_1_triangle_mesh.html">TriangleMesh</a> *&#160;</td>
          <td class="paramname"><em>mesh</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>dont_translate</em> = <code>false</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Calculate a bounding box of a transformed mesh. To be called on an external mesh. </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">mesh</td><td>TriangleMesh* pointer to the the mesh </td></tr>
    <tr><td class="paramname">dont_translate</td><td>bool whether to translate the bounding box or not </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><a class="el" href="class_slic3r_1_1_bounding_boxf3.html">BoundingBoxf3</a> the bounding box after transformation </dd></dl>

</div>
</div>
<a id="a294f740049c15f8ba3a3526933a6073c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a294f740049c15f8ba3a3526933a6073c">&#9670;&nbsp;</a></span>transform_polygon()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Slic3r::ModelInstance::transform_polygon </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_slic3r_1_1_polygon.html">Polygon</a> *&#160;</td>
          <td class="paramname"><em>polygon</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Rotate or scale an external polygon. It does not translate the polygon. </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">polygon</td><td>Polygon* a pointer to the <a class="el" href="class_slic3r_1_1_polygon.html">Polygon</a> </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<h2 class="groupheader">Friends And Related Function Documentation</h2>
<a id="aa8c2bf09eb9d929d57be9ae9277e82de"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa8c2bf09eb9d929d57be9ae9277e82de">&#9670;&nbsp;</a></span>ModelObject</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">friend class <a class="el" href="class_slic3r_1_1_model_object.html">ModelObject</a></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">friend</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a id="ad8efb2f38a72e87f7216319dba818863"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad8efb2f38a72e87f7216319dba818863">&#9670;&nbsp;</a></span>offset</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_slic3r_1_1_pointf.html">Pointf</a> Slic3r::ModelInstance::offset</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>offset in unscaled coordinates. </p>

</div>
</div>
<a id="a2d6e9d580d7423d1b5cbf62db39f02c2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2d6e9d580d7423d1b5cbf62db39f02c2">&#9670;&nbsp;</a></span>rotation</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double Slic3r::ModelInstance::rotation</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Rotation around the Z axis, in radians around mesh center point. </p>

</div>
</div>
<a id="a7fb4930ae3c339bfe47781584a1d3b62"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7fb4930ae3c339bfe47781584a1d3b62">&#9670;&nbsp;</a></span>scaling_factor</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double Slic3r::ModelInstance::scaling_factor</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>uniform scaling factor. </p>

</div>
</div>
<a id="add6e61f270a85a3cf761e9cc9e2b95d6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#add6e61f270a85a3cf761e9cc9e2b95d6">&#9670;&nbsp;</a></span>scaling_vector</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_slic3r_1_1_pointf3.html">Pointf3</a> Slic3r::ModelInstance::scaling_vector</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>scaling vector. Specific to 3MF format. </p>

</div>
</div>
<a id="ad257780d06cd19443c265385595dfe72"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad257780d06cd19443c265385595dfe72">&#9670;&nbsp;</a></span>x_rotation</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double Slic3r::ModelInstance::x_rotation</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Rotation around the X axis, in radians around mesh center point. Specific to 3MF format. </p>

</div>
</div>
<a id="a7d6d9a2d1b5d5f1457c12563db97ec4d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7d6d9a2d1b5d5f1457c12563db97ec4d">&#9670;&nbsp;</a></span>y_rotation</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double Slic3r::ModelInstance::y_rotation</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Rotation around the Y axis, in radians around mesh center point. Specific to 3MF format. </p>

</div>
</div>
<a id="ae6929f99d28b4cee279e3f2ae08c43be"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae6929f99d28b4cee279e3f2ae08c43be">&#9670;&nbsp;</a></span>z_translation</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double Slic3r::ModelInstance::z_translation</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>translation in z axis. Specific to 3MF format. It's not used anywhere in <a class="el" href="namespace_slic3r.html">Slic3r</a> except at writing/reading 3mf. </p>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>src/libslic3r/<a class="el" href="_model_8hpp_source.html">Model.hpp</a></li>
<li>src/libslic3r/<a class="el" href="_model_8cpp.html">Model.cpp</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.14
</small></address>
</body>
</html>
